addcomputed --fast and --unreproducible working
authorJoey Hess <joeyh@joeyh.name>
Tue, 25 Feb 2025 20:36:22 +0000 (16:36 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 25 Feb 2025 20:43:15 +0000 (16:43 -0400)
commit16f529c05fb048a5653695bd1d04f2f2f88a8060
tree861559b6a731a1ec06b638c6a78b1f2248d8cb24
parenta154e91513506f5edfd36aea1783f32da13715f1
addcomputed --fast and --unreproducible working

For these, use VURL and URL keys, with an "annex-compute:" URI prefix.

These URL keys will look something like this:

URL--annex-compute&cbar4,63pconvert,3-f4d3d72cf3f16ac9c3e9a8012bde4462

Generally it's too long so most of it gets md5summed. It's a little
ugly, but it's what fell out of the existing URL key generation
machinery. I did consider special casing to eg
"URL--annex-compute&c4d3d72cf3f16ac9c3e9a8012bde4462". But it seems at
least possibly useful that the name of the file that was computed is
visible and perhaps one or two words of the git-annex compute command
parameters.

Note that two different output files from the same computation will get
the same URL key. And these keys should remain stable.
Command/AddComputed.hs
Remote/Compute.hs
doc/git-annex-addcomputed.mdwn